/**
 * @create 2022-04-23
 * @desc useData
 */

import { useDataContext } from '@components/pro-table/context/data';

export const useData = <T = any, E extends Record<string, any>[] = any[]>() =>
  useDataContext<T, E>();
